
package com.neusoft.databus.agent.pool.netty;

import org.apache.commons.pool2.impl.GenericKeyedObjectPoolConfig;
import org.springframework.stereotype.Component;

import com.neusoft.databus.common.connection.SocketConnection;
import com.neusoft.databus.common.pool.AbstractPool;

/**
 * description
 *
 * @author sunchf
 * @date 2018年12月13日 下午3:01:37
 */

@Component
public class NettyPool extends AbstractPool<SocketConnection, NettyWrapper> {

    @Override
    public String getName() {
        return "Netty连接池";
    }

    @SuppressWarnings("rawtypes")
    public NettyPool(NettyFactory factory, GenericKeyedObjectPoolConfig nettyPoolConfig) {
        super(factory, nettyPoolConfig);
    }
}
